<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class OAStaffAuth extends Model
{
    protected $table = 'staff_auth';

    //获取权限详情
    public function getAuthInfo()
    {
        return $this->hasOne('App\Model\OAAuth','id','auth_id');
    }
}
